package cc.lj.internal.coupons.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@ApiModel("封顶额活动表DTO")
public class MartCapDTO {
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "开始日期")
    private LocalDate startDate;

    @ApiModelProperty(value = "截止日期")
    private LocalDate endDate;

    @ApiModelProperty(value = "截止日期")
    private String activityName;

    @ApiModelProperty(value = "活动是否已开始 1开始 0未开始")
    private Integer isStart;    //1已开始  0未开始

    @ApiModelProperty(value = "活动是否已结束 1结束 0未结束")
    private Integer isOver;

    @ApiModelProperty(value = "记录新增时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
